# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-flask-kvsession-fork
_pkgname=Flask-KVSession-fork
pkgver=0.6.4
pkgrel=5
pkgdesc='Transparent server-side session support for flask.'
arch=('any')
url='https://pypi.org/project/flask-kvsession-fork/#files'
license=('MIT')
depends=('python' 'python-flask' 'python-simplekv' 'python-werkzeug'
         'python-itsdangerous' 'python-six')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/Flask-KVSession-fork-$pkgver.tar.gz")
sha512sums=('6b80aaa890be5dfdf7a97f60218256eaf1622813c149364df7781f8e7ff9d99bcde39c2fe29a5ee187609ff39505d0043d4eaee4f14a36d60b8b72b5c76dff24')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

